package com.dy.dao;

import com.dy.entity.ESEntity;
import org.mapstruct.Mapper;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * @Auther: dy
 * @Date: 2022/4/25 - 04 - 25 - 22:09
 * @Description: com.dy.dao
 * @version: 1.0
 */
@Mapper
public interface ESDao extends PagingAndSortingRepository<ESEntity,String> {
    public List<ESEntity> findAllBy(String info, PageRequest page);
}
